#include <stdio.h>
#include "ChatFilter.h"

const char *forbid[] = {
	"fuck",
	"fucker",
	"baba",
	0,
};

int main()
{
	chatfilter_t filter = chatfilter_create(forbid);
	string_t str = filtrate(filter,"fucker your mother",'*');
	printf("%s\n",string_c_str(str));
	return 0;
}